#!/bin/bash

export JAVA_HOME=/usr/share/jdk1.6.0_14 
export CFLAGS=-m64
export CXXFLAGS=-m64
export ANT_HOME=/opt/apache-ant-1.8.2
export PATH=$PATH:$ANT_HOME/bin
ant -Dversion=0.21.0 -Djava5.home=/usr/java/jdk1.5.0_22 -Dcompile.native=true -Dforrest.home=/home/hadoop/apache-forrest-0.9 clean tar


